function Handkerchief(idea) {
    const queue = new Qusue( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
    let index = 1
    while (queue.size() > 1) {
        if (index % idea == 0) {
            queue.dequeue()
        } else {
            let node = queue.dequeue()
            console.log(node);
            queue.enqueue(node);
        }
        index++
    }
    return queue.dequeue()
}
console.log(Handkerchief(5));